package com.xgl.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xgl.pojo.Punishmentinfo;
import com.xgl.pojo.RespBean;
import com.xgl.pojo.RespPageBean;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 * 学生处罚信息 服务类
 * </p>
 *
 * @author 最最帅气的熊国林
 * @since 2021-05-09
 */
public interface IPunishmentinfoService extends IService<Punishmentinfo> {

    RespPageBean getPunishmentinfoByPage(Integer currentPage, Integer size, Punishmentinfo punishmentinfo, LocalDate[] beginDateScope);

    RespBean addPunishmentinfo(Punishmentinfo punishmentinfo);

    List<Punishmentinfo> getPunishmentinfo(Integer id);

    RespBean insertHashCode(Integer id, String hashCode);
}
